#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "adspage.h"
#include "proflepage.h"
#include "salestatus.h"
#include "editads.h"
#include "editprofile.h"
#include "employeepage.h"
#include "singleton.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
  Q_OBJECT

public:
  MainWindow(QWidget *parent = nullptr);
  ~MainWindow();

private slots:
  void on_adsButtonShowPage_clicked();

  void on_profileButtonShowPage_clicked();

  void on_employeeButtonShowPage_clicked();

  void on_exitButton_clicked();

  void on_aboutButton_clicked();

  void on_pushButton_clicked();

  void showEditProfile();

  void showEditAds();

private:
  Ui::MainWindow *ui;
  Adspage adsPage;
  ProflePage proflPage;
  SaleStatus saleStatusPage;
  EditAds editAdsPage;
  Editprofile editprofile;
  EmployeePage employeePage;
};
#endif // MAINWINDOW_H
